$(function(){
    window.open('/')
}) //被浏览器屏蔽

var button1 = $('#testPopupButton1');

var button2 = $('#testPopupButton2');

function popupTestWindow(){
    popupTestWindow();
}

button1.click(function(){
    popupTestWindow();
})

button2.click(function(){
    setTimeout(popupTestWindow,100);
})